package com.bilibili.movies.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDate;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * <p>
 * 
 * </p>
 *
 * @author LBy
 * @since 2024-05-26
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("movie")

public class Movie implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;


    @TableField("name")
    private String name;


    @TableField("time")
    private LocalDate time;


    @TableField("score")
    private Double score;


    @TableField("detail")
    private String detail;


    @TableField("actor")
    private String actor;


    @TableField("country")
    private String country;


    @TableField("type")
    private String type;

    @TableField("path")
    private String path;

    @TableField("video_path")
    private String videoPath;
    @TableField("hot")
    private Integer hot;


}
